diff options
| author | joonhoekim <26rote@gmail.com> | 2025-12-08 14:19:37 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-12-08 14:19:37 +0900 |
| commit | 2ac7deb8494cf4123f0cff3321860585a44f157c (patch) | |
| tree | 789b6980c8f863a0f675fad38c4a17d91ba28bf3 /app/[lng]/evcp/(evcp)/(eng)/cover/page.tsx | |
| parent | 71c0ba1f01b98770ec2c60cdb935ffb36c1830a9 (diff) | |
| parent | e37cce51ccfa3dcb91904b2492df3a29970fadf7 (diff) | |
Merge remote-tracking branch 'origin/sec-patch' into table-v2
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(eng)/cover/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(eng)/cover/page.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/[lng]/evcp/(evcp)/(eng)/cover/page.tsx b/app/[lng]/evcp/(evcp)/(eng)/cover/page.tsx index 9f2b2e61..891296db 100644 --- a/app/[lng]/evcp/(evcp)/(eng)/cover/page.tsx +++ b/app/[lng]/evcp/(evcp)/(eng)/cover/page.tsx @@ -9,12 +9,16 @@ import { searchParamsProjectsCache } from "@/lib/projects/validation" import { InformationButton } from "@/components/information/information-button" import { getProjectListsForCover } from "@/lib/cover/service" import { ProjectsTableForCover } from "@/lib/cover/table/projects-table" +import { useTranslation } from "@/i18n" interface IndexPageProps { + params: Promise<{ lng: string }> searchParams: Promise<SearchParams> } export default async function IndexPage(props: IndexPageProps) { + const { lng } = await props.params + const { t } = await useTranslation(lng, 'menu') const searchParams = await props.searchParams const search = searchParamsProjectsCache.parse(searchParams) @@ -35,7 +39,7 @@ export default async function IndexPage(props: IndexPageProps) { <div> <div className="flex items-center gap-2"> <h2 className="text-2xl font-bold tracking-tight"> - 프로젝트 리스트 + {t('menu.engineering_management.cover')} </h2> <InformationButton pagePath="evcp/projects" /> </div> |
